<!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/tr/html4/loose.dtd">
<html>
<head>
<?php
$this->load->view("head");
?>
<script language="javascript" src="<?php echo base_url();?>js/jquery/school.js"></script>
</head>
<?php
$this->load->view("headview");
?>

<div id="main_content">
<div class="titlebar"><?= $title;?></div>
<div class="top_margin"></div>
<div class="homepage_mid_column">
<?php $this->load->view('user/user_leftnav');?>

<div class="book_charts2">
      <form name="change_form" id="change_form" method="post" action="<?=site_url()?>/user/edit_info">
          <input type="hidden" name="site_url" id="site_url" value="<?=site_url()?>">
               <div>
              
                   <h3><?=$user_info->id?>的个人资料</h3>
                   <table>
<tr><td width="300px" height="30px">邮箱：&nbsp;&nbsp;&nbsp;&nbsp;<?=$user_info->email?></td><td width="300px" height="30px">电话：&nbsp;&nbsp;&nbsp;&nbsp;<?=$user_info->phone?></td><td width="200px" height="30px">QQ：&nbsp;&nbsp;&nbsp;&nbsp;<?=$user_info->qq?></td></tr>
<tr><td width="300px" height="30px">在售/售出：<?=$user_info->numsales?>/<?=$user_info->numsaledeals?></td><td width="300px" height="30px">买进/求购：<?=$user_info->numwanteddeals?>/<?=$user_info->numwanted?></td><td width="200px" height="30px">积分：&nbsp;&nbsp;&nbsp;&nbsp;<?=$user_info->money?></td></tr>
<tr><td height="30px" colspan="3">学校：&nbsp;&nbsp;&nbsp;&nbsp;<?=$user_info->province_name?><?=$user_info->city_name?><?=$user_info->school_name?><?=$user_info->campus_name?>校区</td></tr>

                   </table>

                   <hr>
                   <h3>修改资料</h3>
                   <div id="change_school">
                       <p><a href="#" onclick="change_school()">修改学校>></a>
                           <input style="display:none" type="text" name="is_changed" value="0">
                   </div>
<p>收货人：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" size="35" name="name" value="<?=$user_info->name?>"></p>
<p>手机：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" size="35" name="phone" value="<?=$user_info->phone?>"></p>
<p>虚拟网短号：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" size="35" name="short_phone" value="<?=$user_info->short_phone?>"></p>
<p>寝室地址：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" size="35" name="dorm" value="<?=$user_info->dorm?>"></p>
<p>店名：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" size="35" name="shopname" value="<?=$user_info->shopname?>"</p>                
<p>邮箱：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" size="35" name="email" value="<?=$user_info->email?>"</p>
<p>QQ：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" size="35" name="qq" value="<?=$user_info->qq?>"</p>

               </div>
<div id="add_school" class="form_row">

</div>
          <p><input type="submit" value="修改">&nbsp;&nbsp;&nbsp;<font color="red"><?=$warning?></font></p>
          </form>
</div>
</div>
</div><!-- end of right content -->

<?php
$this->load->view("footer2");
?>
